package com.xinhe.web.response;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
@ApiModel(description = "AssetDetailByUserView")
public class AssetDetailByUserView {
    @ApiModelProperty("id")
    private Long id;
    @ApiModelProperty("用户id")
    private Long fUserId;
    @ApiModelProperty("资产类型")
    private String assetType;
    @ApiModelProperty("交易类型")
    private String tradeType;
    @ApiModelProperty("交易金额")
    private BigDecimal tradeAmount;
    @ApiModelProperty("剩余金额")
    private BigDecimal remainder;
    @ApiModelProperty("关联业务")
    private Long businessId;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    @ApiModelProperty("备注")
    private String remark;
}
